﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Windows.Forms;

namespace OCR
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Process[] processes = System.Diagnostics.Process.GetProcessesByName("OCR");
            if (processes.Length > 1)
            {
                System.Environment.Exit(1);
            }
            else
            {
                Application.EnableVisualStyles();
                Application.SetCompatibleTextRenderingDefault(false);
                Application.Run(new NewMain());
            }
           
            //Application.Run(new About());
           // Application.Run(new ImageView(@"C:\Users\pc\Desktop\201710140924\a.jpg", 2, 1));
            //lxb  
        }
    }
}
